package com.bootdo.company.dao;

import com.bootdo.company.domain.PostDO;

import java.util.List;
import java.util.Map;

import com.bootdo.system.domain.JobIndustry;
import org.apache.ibatis.annotations.Mapper;

/**
 * 岗位表
 *
 * @author wudl
 * @email 460030103@qq.com
 * @date 2020-02-19 15:40:05
 */
@Mapper
public interface PostDao {

    PostDO get(Long id);

    List<PostDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(PostDO post);

    int update(PostDO post);

    int remove(Long id);

    int batchRemove(Long[] ids);

    List<Map<String, Object>> statPostByIndustry();

    JobIndustry getJobIndustry(Long industryNo);

    List<Map<String, Object>> search(Map<String, Object> map);

}
